import { defineComponent as y, computed as C, reactive as x, watch as k, toRefs as $ } from "vue-demi";
const T = /-(\w)/g;
function g(t) {
  return t.replace(T, (e, a) => a.toUpperCase());
}
const E = "frog";
function N(t) {
  return t = `${E}-${t}`, [t, g(`-${t}`)];
}
function L(t) {
  return t.install = (e) => {
    const a = t.name, [s, r] = N(a);
    e.component(s, t), e.component(r, t), e.component(a, t), e.component(g(`-${a}`), t);
  }, t;
}
const h = (t) => t != null && t.startsWith("http") || t != null && t.startsWith("data:image") ? t : t ? `data:image/png;base64,${t}` : "";
var w = function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("div", {
    staticClass: "applytable-container"
  }, [a("table", {
    staticClass: "exam_ticket",
    attrs: {
      cellspacing: "0",
      border: "0",
      cellpadding: "0"
    }
  }, [a("caption", [a("div", {
    staticClass: "driveInfo"
  }, [a("div", {
    staticClass: "examApply-title"
  }, [t._v(t._s(t.catagory.name) + "\u4ECE\u4E1A\u8D44\u683C\u8003\u8BD5\u7533\u8BF7\u8868")]), t.table.qrcode ? a("div", {
    staticClass: "qrcode"
  }, [a("img", {
    attrs: {
      src: t.getImage(t.table.qrcode),
      fit: "['fill']"
    }
  })]) : t._e()]), a("div", {
    staticClass: "flex"
  }, [a("h6", {
    staticClass: "flex-1 text-left bold"
  }, [t._v("NO." + t._s(t.table.studentCode))]), a("h6", {
    staticClass: "flex-1 text-left bold"
  }, [t.table.isTrain === !1 ? a("span", [t._v(t._s(t.table.schoolName))]) : t._e()]), a("h6", {
    staticClass: "flex-1 text-right",
    staticStyle: {
      "padding-right": "10px"
    }
  }, [t.table.enrollBatch ? a("span", [t._v("[" + t._s(t.table.enrollBatch) + "]")]) : t._e()])])]), a("colgroup", t._l(9, function(s) {
    return a("col", {
      key: s,
      attrs: {
        width: "10%"
      }
    });
  }), 0), a("tbody", [a("tr", [t.isTaxi ? [t._m(3), a("td", {
    attrs: {
      colspan: "2"
    }
  }, [t._v(t._s(t.table.name))]), t._m(4), a("td", {
    attrs: {
      colspan: "2"
    }
  }, [t._v(t._s(t.table.gender))])] : [t._m(0), a("td", [t._v(t._s(t.table.name))]), t._m(1), a("td", [t._v(t._s(t.table.gender))]), t._m(2), a("td", [t._v(t._s(t.table.education))])], a("td", {
    attrs: {
      colspan: "2",
      rowspan: t.isTaxi ? 4 : 5
    }
  }, [t.table.headImg ? a("div", {
    staticClass: "picture"
  }, [a("img", {
    attrs: {
      src: t.getImage(t.table.headImg),
      fit: "['fill']"
    }
  })]) : t._e()])], 2), a("tr", [t._m(5), a("td", {
    attrs: {
      colspan: "5"
    }
  }, [t._v(" " + t._s(t.table.residentialAddress)), t.table.telephone ? a("span", [t._v("(\u7535\u8BDD: " + t._s(t.table.telephone) + ")")]) : t._e()])]), t.isTaxi ? t._e() : a("tr", [t._m(6), a("td", {
    attrs: {
      colspan: "5"
    }
  }, [t._v(t._s(t.table.companyName))])]), a("tr", [t._m(7), a("td", {
    attrs: {
      colspan: "5"
    }
  }, [t._v(t._s(t.table.cardNo))])]), a("tr", [t._m(8), a("td", {
    attrs: {
      colspan: "5"
    }
  }, [t._v(t._s(t.table.isTrain ? t.table.schoolName : ""))])]), a("tr", [t._m(9), a("td", {
    attrs: {
      colspan: "3"
    }
  }, [t._v(t._s(t.table.driverType))]), t._m(10), a("td", {
    attrs: {
      colspan: "2"
    }
  }, [t._v(t._s(t.table.driverFirstIssueDate))])]), t.isTaxi ? t._e() : a("tr", [t._m(11), a("td", {
    attrs: {
      colspan: "7"
    }
  }, [t._v(t._s(t.table.cardNo))])]), t.catagory.type.length > 0 ? a("tr", [t._m(12), a("td", {
    attrs: {
      colspan: "8"
    }
  }, [a("div", {
    staticClass: "flex justify-center"
  }, t._l(t.catagory.type, function(s, r) {
    return a("div", {
      key: r,
      staticClass: "flex",
      staticStyle: {
        "margin-left": "10px",
        "align-items": "center"
      },
      attrs: {
        label: s.name
      }
    }, [a("input", {
      staticClass: "flex flex-start",
      attrs: {
        type: "checkbox",
        id: `checktype${r}`
      },
      domProps: {
        checked: t.table.isFirst === s.value
      }
    }), a("label", {
      attrs: {
        for: `checktype${r}`
      }
    }, [t._v("\xA0" + t._s(s.name))])]);
  }), 0)])]) : t._e(), a("tr", [t._m(13), a("td", {
    attrs: {
      colspan: "7"
    }
  }, [a("div", {
    staticClass: "flex justify-center disabled-check"
  }, t._l(t.catagory.applyCatagory, function(s, r) {
    return a("div", {
      key: r,
      staticClass: "flex",
      staticStyle: {
        "margin-left": "10px",
        "align-items": "center"
      },
      attrs: {
        label: s.name
      }
    }, [a("input", {
      staticClass: "flex flex-start",
      attrs: {
        type: "checkbox",
        id: `check${r}`
      },
      domProps: {
        checked: t.table.applyType == s.name
      }
    }), a("label", {
      attrs: {
        for: `check${r}`
      }
    }, [t._v("\xA0" + t._s(s.name))])]);
  }), 0)])]), a("tr", [t._m(14), a("td", {
    attrs: {
      colspan: "7"
    }
  }, [a("div", {
    staticClass: "flex justify-center disabled-check"
  }, t._l(t.catagory.studentMaterialsLists, function(s, r) {
    return a("div", {
      key: r,
      staticClass: "flex",
      staticStyle: {
        "align-items": "center"
      }
    }, [s.url ? a("input", {
      staticClass: "flex flex-start",
      attrs: {
        type: "checkbox",
        id: `checkmaterial${r}`
      },
      domProps: {
        checked: s.url
      }
    }) : s.imgUrl ? a("input", {
      staticClass: "flex flex-start",
      attrs: {
        type: "checkbox",
        id: `checkmaterial${r}`
      },
      domProps: {
        checked: s.imgUrl
      }
    }) : t._e(), a("div", {
      staticClass: "text-left"
    }, [s.url || s.imgUrl ? a("a", {
      attrs: {
        for: `checkmaterial${r}`,
        href: s.url || s.imgUrl,
        target: "_black"
      }
    }, [t._v(t._s(s.name))]) : a("span", [t._v(t._s(s.name) + "\xA0\xA0")])])]);
  }), 0)])]), a("tr", [t._m(15), a("td", {
    attrs: {
      colspan: "7"
    }
  }, [a("div", {
    staticClass: "px-5 my-2 text-left"
  }, [t._v(" \u672C\u4EBA\u627F\u8BFA\u4E0A\u8FF0\u6240\u6709\u5185\u5BB9\u771F\u5B9E\u3001\u6709\u6548\uFF0C\u5E76\u627F\u62C5\u7531\u6B64\u4EA7\u751F\u7684\u6CD5\u5F8B\u8D23\u4EFB\u3002 ")]), a("div", {
    staticClass: "flex items-center justify-around",
    staticStyle: {
      "padding-top": "30px"
    }
  }, [a("span", {
    staticClass: "flex items-center"
  }, [t._v("\u672C\u4EBA\u7B7E\u5B57\uFF1A "), t.table.esignature ? a("img", {
    staticStyle: {
      width: "120px",
      height: "60px"
    },
    attrs: {
      fit: "contain",
      src: t.getImage(t.table.esignature)
    }
  }) : a("span", [t._v(" " + t._s(t.table.name))])]), a("span", {
    staticStyle: {
      "padding-right": "100px"
    }
  }, [t._v("\u65E5\u671F: " + t._s(t.getTime(t.table)))])])])]), t.isTaxi ? [a("tr", [a("td", {
    attrs: {
      colspan: "2",
      rowspan: 1 + t.catagory.scoreList.length
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u8003\u8BD5\u8BB0\u5F55")])]), t._m(16), t._m(17), t._m(18), t._m(19)]), t._l(t.catagory.scoreList, function(s, r) {
    return a("tr", {
      key: r
    }, [a("td", {
      attrs: {
        colspan: "3"
      }
    }, [a("h6", {
      staticClass: "bold"
    }, [t._v(t._s(s.subjectName) + " \xA0\xA0" + t._s(s.score))])]), a("td", {
      attrs: {
        colspan: "2"
      }
    }, [t._v(t._s(s.examTime))]), a("td", {
      attrs: {
        colspan: "1"
      }
    }, [s.testerOneImg ? a("img", {
      staticStyle: {
        width: "80px",
        height: "30px"
      },
      attrs: {
        src: t.getImage(s.testerOneImg),
        alt: ""
      }
    }) : a("span", [t._v(t._s(s.testerOne))])]), a("td", {
      attrs: {
        colspan: "1"
      }
    }, [s.testerTwoImg ? a("img", {
      staticStyle: {
        width: "80px",
        height: "30px"
      },
      attrs: {
        src: t.getImage(s.testerTwoImg),
        alt: ""
      }
    }) : a("span", [t._v(t._s(s.testerTwo))])])]);
  })] : [a("tr", [a("td", {
    attrs: {
      colspan: "2",
      rowspan: 1 + t.catagory.scoreList.length
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u8003\u8BD5\u8BB0\u5F55")])]), t._m(20), t._m(21), t._m(22)]), t._l(t.catagory.scoreList, function(s, r) {
    return a("tr", {
      key: r
    }, [a("td", {
      attrs: {
        colspan: "3"
      }
    }, [a("h6", {
      staticClass: "bold"
    }, [t._v(t._s(s.subjectName) + "\xA0\xA0" + t._s(s.score))])]), a("td", {
      attrs: {
        colspan: "2"
      }
    }, [s.testerOneImg ? a("img", {
      staticStyle: {
        width: "80px",
        height: "30px"
      },
      attrs: {
        src: t.getImage(s.testerOneImg),
        alt: ""
      }
    }) : a("span", [t._v(t._s(s.testerOne))])]), a("td", {
      attrs: {
        colspan: "2"
      }
    }, [s.testerTwoImg ? a("img", {
      staticStyle: {
        width: "80px",
        height: "30px"
      },
      attrs: {
        src: t.getImage(s.testerTwoImg),
        alt: ""
      }
    }) : a("span", [t._v(t._s(s.testerTwo))])])]);
  })], a("tr", [t._m(23), a("td", {
    attrs: {
      colspan: "7"
    }
  }, [t.isTaxi ? a("div", [a("p", {
    staticClass: "text-left"
  }, [t._v("\u7ECF\u5BA1\u6838\uFF1A")]), a("div", {
    staticClass: "flex"
  }, [a("input", {
    directives: [{
      name: "model",
      rawName: "v-model",
      value: t.checked,
      expression: "checked"
    }],
    staticClass: "flex flex-start",
    attrs: {
      type: "checkbox",
      id: "checkaudit"
    },
    domProps: {
      checked: Array.isArray(t.checked) ? t._i(t.checked, null) > -1 : t.checked
    },
    on: {
      change: function(s) {
        var r = t.checked, l = s.target, i = !!l.checked;
        if (Array.isArray(r)) {
          var _ = null, c = t._i(r, _);
          l.checked ? c < 0 && (t.checked = r.concat([_])) : c > -1 && (t.checked = r.slice(0, c).concat(r.slice(c + 1)));
        } else
          t.checked = i;
      }
    }
  }), a("label", {
    attrs: {
      for: "checkaudit"
    }
  }, [t._v("\xA0\u540C\u610F\u53D1\u8BC1\uFF08\u5177\u5907\u4ECE\u4E1A\u8D44\u683C\u6761\u4EF6\uFF0C\u4E14\u4ECE\u4E1A\u8D44\u683C\u8003\u8BD5\u5408\u683C\uFF09")])]), a("div", {
    staticClass: "flex"
  }, [a("input", {
    directives: [{
      name: "model",
      rawName: "v-model",
      value: t.checked,
      expression: "checked"
    }],
    staticClass: "flex flex-start",
    attrs: {
      type: "checkbox",
      id: "checkaudit1"
    },
    domProps: {
      checked: Array.isArray(t.checked) ? t._i(t.checked, null) > -1 : t.checked
    },
    on: {
      change: function(s) {
        var r = t.checked, l = s.target, i = !!l.checked;
        if (Array.isArray(r)) {
          var _ = null, c = t._i(r, _);
          l.checked ? c < 0 && (t.checked = r.concat([_])) : c > -1 && (t.checked = r.slice(0, c).concat(r.slice(c + 1)));
        } else
          t.checked = i;
      }
    }
  }), a("label", {
    attrs: {
      for: "checkaudit1"
    }
  }, [t._v("\xA0\u4E0D\u540C\u610F\u53D1\u8BC1\uFF0C\u7406\u7531:")])])]) : t.table.signatureUrl ? a("div", {
    staticClass: "flex",
    staticStyle: {
      padding: "20px 0 0 20px"
    }
  }, [a("img", {
    staticStyle: {
      width: "100px",
      height: "100px",
      "margin-bottom": "-50px"
    },
    attrs: {
      src: t.getImage(t.table.signatureUrl),
      alt: ""
    }
  })]) : a("div", {
    staticStyle: {
      height: "60px"
    }
  }), t._m(24)])]), t.isTaxi ? a("tr", [t._m(25), t._m(26), a("td", {
    attrs: {
      colspan: "5"
    }
  })]) : t._e(), a("tr", [t.isTaxi ? t._e() : a("td", {
    attrs: {
      colspan: "2",
      rowspan: "2"
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u4ECE\u4E1A\u8D44\u683C\u8BC1\u4EF6\u53D1\u653E")])]), t._m(27), a("td", {
    attrs: {
      colspan: "2"
    }
  }), t._m(28), a("td", {
    attrs: {
      colspan: "2"
    }
  })]), t._m(29)], 2)]), t.table.describe ? a("p", {
    staticClass: "mt-2 text-justify"
  }, [t._v(" " + t._s(t.table.describe) + " ")]) : t._e()]);
}, j = [function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("td", {
    attrs: {
      colspan: "2"
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u59D3\u540D")])]);
}, function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("td", [a("h6", {
    staticClass: "bold"
  }, [t._v("\u6027\u522B")])]);
}, function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("td", [a("h6", {
    staticClass: "bold"
  }, [t._v("\u5B66\u5386")])]);
}, function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("td", {
    attrs: {
      colspan: "2"
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u59D3\u540D")])]);
}, function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("td", [a("h6", {
    staticClass: "bold"
  }, [t._v("\u6027\u522B")])]);
}, function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("td", {
    attrs: {
      colspan: "2"
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u4F4F\u5740")])]);
}, function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("td", {
    attrs: {
      colspan: "2"
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u5DE5\u4F5C\u5355\u4F4D")])]);
}, function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("td", {
    attrs: {
      colspan: "2"
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u8EAB\u4EFD\u8BC1\u53F7")])]);
}, function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("td", {
    attrs: {
      colspan: "2"
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u57F9\u8BAD\u5355\u4F4D")])]);
}, function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("td", {
    attrs: {
      colspan: "2"
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u9A7E\u9A76\u8BC1\u51C6\u9A7E\u8F66\u578B")])]);
}, function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("td", {
    attrs: {
      colspan: "2"
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u521D\u9886\u9A7E\u9A76\u8BC1\u65E5\u671F")])]);
}, function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("td", {
    attrs: {
      colspan: "2"
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u539F\u4ECE\u4E1A\u8D44\u683C\u8BC1\u4EF6\u53F7")])]);
}, function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("td", {
    attrs: {
      colspan: "2"
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u7533\u8BF7\u79CD\u7C7B")])]);
}, function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("td", {
    attrs: {
      colspan: "2"
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u7533\u8BF7\u7C7B\u522B")])]);
}, function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("td", {
    attrs: {
      colspan: "2"
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u6750\u6599\u6E05\u5355")])]);
}, function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("td", {
    attrs: {
      colspan: "2"
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u627F\u8BFA")])]);
}, function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("td", {
    attrs: {
      colspan: "3"
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u6210\u7EE9")])]);
}, function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("td", {
    attrs: {
      colspan: "2"
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u8003\u8BD5\u65F6\u95F4")])]);
}, function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("td", {
    attrs: {
      colspan: "1"
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u8003\u6838\u5458")])]);
}, function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("td", {
    attrs: {
      colspan: "1"
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u8003\u6838\u5458")])]);
}, function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("td", {
    attrs: {
      colspan: "3"
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u6210\u7EE9")])]);
}, function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("td", {
    attrs: {
      colspan: "2"
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u8003\u6838\u5458")])]);
}, function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("td", {
    attrs: {
      colspan: "2"
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u8003\u6838\u5458")])]);
}, function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("td", {
    attrs: {
      colspan: "2"
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u4EA4\u901A\u8FD0\u8F93\u4E3B\u7BA1\u90E8\u95E8\u610F\u89C1")])]);
}, function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("div", [a("div", {
    staticClass: "text-right",
    staticStyle: {
      padding: "10px 80px 0 0"
    }
  }, [t._v("(\u76D6 \u7AE0)")]), a("div", {
    staticClass: "text-right",
    staticStyle: {
      padding: "10px 80px 5px 0"
    }
  }, [t._v("\u5E74\xA0\xA0\xA0\xA0\xA0\xA0\xA0\xA0\u6708\xA0\xA0\xA0\xA0\xA0\xA0\xA0\xA0\u65E5")])]);
}, function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("td", {
    attrs: {
      colspan: "2",
      rowspan: "3"
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u4ECE\u4E1A\u8D44\u683C\u8BC1\u4EF6\u53D1\u653E")])]);
}, function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("td", {
    attrs: {
      colspan: "2"
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u4ECE\u4E1A\u8D44\u683C\u8BC1\u53F7")])]);
}, function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("td", {
    attrs: {
      colspan: "2"
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u53D1\u653E\u4EBA(\u7B7E\u5B57)")])]);
}, function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("td", {
    attrs: {
      colspan: "1"
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u65E5\u671F")])]);
}, function() {
  var t = this, e = t.$createElement, a = t._self._c || e;
  return a("tr", [a("td", {
    attrs: {
      colspan: "2"
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u9886\u53D6\u4EBA(\u7B7E\u5B57)")])]), a("td", {
    attrs: {
      colspan: "2"
    }
  }), a("td", {
    attrs: {
      colspan: "1"
    }
  }, [a("h6", {
    staticClass: "bold"
  }, [t._v("\u65E5\u671F")])]), a("td", {
    attrs: {
      colspan: "2"
    }
  })]);
}];
function I(t, e, a, s, r, l, i, _) {
  var c = typeof t == "function" ? t.options : t;
  e && (c.render = e, c.staticRenderFns = a, c._compiled = !0), s && (c.functional = !0), l && (c._scopeId = "data-v-" + l);
  var o;
  if (i ? (o = function(n) {
    n = n || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !n && typeof __VUE_SSR_CONTEXT__ < "u" && (n = __VUE_SSR_CONTEXT__), r && r.call(this, n), n && n._registeredComponents && n._registeredComponents.add(i);
  }, c._ssrRegister = o) : r && (o = _ ? function() {
    r.call(
      this,
      (c.functional ? this.parent : this).$root.$options.shadowRoot
    );
  } : r), o)
    if (c.functional) {
      c._injectStyles = o;
      var p = c.render;
      c.render = function(d, m) {
        return o.call(m), p(d, m);
      };
    } else {
      var v = c.beforeCreate;
      c.beforeCreate = v ? [].concat(v, o) : [o];
    }
  return {
    exports: t,
    options: c
  };
}
const u = [
  { name: "\u7ECF\u8425\u6027\u9053\u8DEF\u65C5\u5BA2\u8FD0\u8F93\u9A7E\u9A76\u5458", label: "\u7ECF\u8425\u6027\u9053\u8DEF\u5BA2\u8D27\u8FD0\u8F93\u9A7E\u9A76\u5458", arr: [] },
  { name: "\u7ECF\u8425\u6027\u9053\u8DEF\u8D27\u7269\u8FD0\u8F93\u9A7E\u9A76\u5458", label: "\u7ECF\u8425\u6027\u9053\u8DEF\u5BA2\u8D27\u8FD0\u8F93\u9A7E\u9A76\u5458", arr: [] },
  { name: "\u9053\u8DEF\u5371\u9669\u8D27\u7269\u8FD0\u8F93\u9A7E\u9A76\u5458", label: "\u9053\u8DEF\u5371\u9669\u8D27\u7269\u8FD0\u8F93", arr: [] },
  { name: "\u9053\u8DEF\u5371\u9669\u8D27\u7269\u8FD0\u8F93\u88C5\u5378\u7BA1\u7406\u4EBA\u5458", label: "\u9053\u8DEF\u5371\u9669\u8D27\u7269\u8FD0\u8F93", arr: [] },
  { name: "\u9053\u8DEF\u5371\u9669\u8D27\u7269\u8FD0\u8F93\u62BC\u8FD0\u4EBA\u5458", label: "\u9053\u8DEF\u5371\u9669\u8D27\u7269\u8FD0\u8F93", arr: [] },
  { name: "\u653E\u5C04\u6027\u7269\u54C1\u9053\u8DEF\u8FD0\u8F93\u9A7E\u9A76\u5458", label: "\u653E\u5C04\u6027\u7269\u54C1\u9053\u8DEF\u8FD0\u8F93", arr: [] },
  { name: "\u653E\u5C04\u6027\u7269\u54C1\u9053\u8DEF\u8FD0\u8F93\u88C5\u5378\u7BA1\u7406\u4EBA\u5458", label: "\u653E\u5C04\u6027\u7269\u54C1\u9053\u8DEF\u8FD0\u8F93", arr: [] },
  { name: "\u653E\u5C04\u6027\u7269\u54C1\u9053\u8DEF\u8FD0\u8F93\u62BC\u8FD0\u4EBA\u5458", label: "\u653E\u5C04\u6027\u7269\u54C1\u9053\u8DEF\u8FD0\u8F93", arr: [] },
  { name: "\u5267\u6BD2\u5316\u5B66\u54C1\u9053\u8DEF\u8FD0\u8F93\u9A7E\u9A76\u5458", label: "\u5267\u6BD2\u54C1\u8FD0\u8F93", arr: [] },
  { name: "\u5267\u6BD2\u5316\u5B66\u54C1\u9053\u8DEF\u8FD0\u8F93\u88C5\u5378\u7BA1\u7406\u4EBA\u5458", label: "\u5267\u6BD2\u54C1\u8FD0\u8F93", arr: [] },
  { name: "\u5267\u6BD2\u5316\u5B66\u54C1\u9053\u8DEF\u8FD0\u8F93\u62BC\u8FD0\u4EBA\u5458", label: "\u5267\u6BD2\u54C1\u8FD0\u8F93", arr: [] },
  { name: "\u7206\u70B8\u54C1\u9053\u8DEF\u8FD0\u8F93\u9A7E\u9A76\u5458", label: "\u7206\u70B8\u54C1\u8FD0\u8F93", arr: [] },
  { name: "\u7206\u70B8\u54C1\u9053\u8DEF\u8FD0\u8F93\u88C5\u5378\u7BA1\u7406\u4EBA\u5458", label: "\u7206\u70B8\u54C1\u8FD0\u8F93", arr: [] },
  { name: "\u7206\u70B8\u54C1\u9053\u8DEF\u8FD0\u8F93\u62BC\u8FD0\u4EBA\u5458", label: "\u7206\u70B8\u54C1\u8FD0\u8F93", arr: [] },
  {
    name: "\u5DE1\u6E38\u51FA\u79DF\u6C7D\u8F66\u9A7E\u9A76\u5458",
    label: "\u51FA\u79DF\u6C7D\u8F66\u9A7E\u9A76\u5458",
    arr: [{ subjectName: "\u5168\u56FD\u516C\u5171\u79D1\u76EE" }, { subjectName: "\u533A\u57DF\u7406\u8BBA" }, { subjectName: "\u533A\u57DF\u64CD\u4F5C" }]
  },
  {
    name: "\u7F51\u7EDC\u9884\u7EA6\u51FA\u79DF\u6C7D\u8F66\u9A7E\u9A76\u5458",
    label: "\u51FA\u79DF\u6C7D\u8F66\u9A7E\u9A76\u5458",
    arr: [{ subjectName: "\u5168\u56FD\u516C\u5171\u79D1\u76EE" }, { subjectName: "\u533A\u57DF\u7406\u8BBA" }, {}]
  }
], f = (t) => ({
  customer: {
    name: "\u7ECF\u8425\u6027\u9053\u8DEF\u5BA2\u8D27\u8FD0\u8F93\u9A7E\u9A76\u5458",
    type: [
      { name: "\u521D\u9886", value: 0 },
      { name: "\u589E\u9A7E", value: 1 }
    ],
    applyCatagory: [],
    studentMaterialsLists: [],
    scoreList: [{ subjectName: "\u7406\u8BBA" }, { subjectName: "\u5E94\u7528\u80FD\u529B" }, {}]
  },
  danger: {
    name: "\u9053\u8DEF\u5371\u9669\u8D27\u7269\u8FD0\u8F93",
    studentMaterialsLists: [],
    type: [],
    applyCatagory: [],
    scoreList: [{ subjectName: "\u57FA\u7840\u77E5\u8BC6" }, { subjectName: "\u4E13\u4E1A\u77E5\u8BC6" }, {}]
  },
  radioaction: {
    name: "\u653E\u5C04\u6027\u7269\u54C1\u9053\u8DEF\u8FD0\u8F93",
    studentMaterialsLists: [],
    type: [],
    applyCatagory: [],
    scoreList: [{ subjectName: "\u7406\u8BBA" }, {}, {}]
  },
  toxic: {
    name: "\u5267\u6BD2\u54C1\u8FD0\u8F93",
    studentMaterialsLists: [],
    type: [],
    applyCatagory: [],
    scoreList: [{ subjectName: "\u57FA\u7840\u77E5\u8BC6" }, { subjectName: "\u4E13\u4E1A\u77E5\u8BC6" }, {}]
  },
  explosive: {
    name: "\u7206\u70B8\u54C1\u8FD0\u8F93",
    studentMaterialsLists: [],
    type: [],
    applyCatagory: [],
    scoreList: [{ subjectName: "\u57FA\u7840\u77E5\u8BC6" }, { subjectName: "\u4E13\u4E1A\u77E5\u8BC6" }, {}]
  },
  taxi: {
    name: "\u51FA\u79DF\u6C7D\u8F66\u9A7E\u9A76\u5458",
    type: [],
    applyCatagory: [],
    studentMaterialsLists: [],
    scoreList: []
  }
})[t], S = y({
  name: "applyTable",
  props: {
    childData: {
      type: Object,
      default: () => {
      }
    }
  },
  setup(t, { root: e }) {
    const a = C(() => s.catagory.name === "\u51FA\u79DF\u6C7D\u8F66\u9A7E\u9A76\u5458"), s = x({
      checked: !1,
      catagory: {
        name: "",
        type: [],
        scoreList: [],
        applyCatagory: [],
        studentMaterialsLists: []
      },
      applyType: "",
      table: {}
    }), r = (l) => {
      if (l.applyTime)
        return l.applyTime;
      if (l.createdTime)
        return l.createdTime;
    };
    return k(() => t.childData, (l) => {
      var c, o, p;
      const { applyType: i, tableType: _ } = l;
      if (_) {
        s.table = { ...l }, s.applyType = i || "", s.catagory = f(_), s.catagory.applyCatagory = u.filter((d) => d.label === s.catagory.name) || [];
        let { scoreList: v } = s.table, n = v.length;
        if (n === 0)
          i === "\u5DE1\u6E38\u51FA\u79DF\u6C7D\u8F66\u9A7E\u9A76\u5458" || i === "\u7F51\u7EDC\u9884\u7EA6\u51FA\u79DF\u6C7D\u8F66\u9A7E\u9A76\u5458" ? s.catagory.scoreList = (c = u.find(
            (d) => d.name === i
          )) == null ? void 0 : c.arr : s.catagory.scoreList = f(_).scoreList;
        else if (n > 0) {
          if (n < 3) {
            let d = new Array(3 - n).fill({});
            v = [...v, ...d];
          }
          s.catagory.scoreList = v;
        }
        s.catagory.studentMaterialsLists = (p = (o = s.table.studentMaterialsLists) == null ? void 0 : o.map((d) => ({
          ...d,
          url: h(d.url)
        }))) != null ? p : [];
      }
    }, {
      deep: !0,
      immediate: !0
    }), {
      ...$(s),
      getImage: h,
      getTime: r,
      isTaxi: a
    };
  }
}), b = {};
var A = /* @__PURE__ */ I(
  S,
  w,
  j,
  !1,
  M,
  "23f18bc6",
  null,
  null
);
function M(t) {
  for (let e in b)
    this[e] = b[e];
}
const O = /* @__PURE__ */ function() {
  return A.exports;
}(), R = L(O);
export {
  R as default
};
